package com
{
	import mx.controls.TileList;
	import mx.controls.listClasses.IListItemRenderer;
	import flash.display.Sprite;
	import flash.display.Graphics;

	public class TileListTransparente extends TileList
	{
		public function TileListTransparente()
		{
			super();
		}
		
		override protected function drawHighlightIndicator(indicator:Sprite, x:Number, y:Number, width:Number, height:Number, color:uint, itemRenderer:IListItemRenderer):void
	    {                   
	      		var g:Graphics = Sprite(indicator).graphics;
	            g.clear();
	            g.beginFill(0, 0);
	            g.drawRect(1, 1, width - 1, height - 1);
	            g.endFill();
	
	            indicator.x = x;
	            indicator.y = y;
	    }
	
	    override protected function drawSelectionIndicator(indicator:Sprite, x:Number, y:Number, width:Number, height:Number, color:uint, itemRenderer:IListItemRenderer):void
	    {
	         	
	    }
	}
}